package com.bdqn.day0106.service.impl;

import com.bdqn.day0106.mybatis.entity.Child;
import com.bdqn.day0106.mybatis.mapper.ChildMapper;
import com.bdqn.day0106.service.ChildSevice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author:Corday
 * @Date:2022/01/06/16:49
 */
@Service
public class ChildServiceImpl implements ChildSevice {
    @Resource
    private ChildMapper cm;
    @Override
    public List<Child> getChilds() {
        return cm.selectChilds();
    }
}
